<include file="Public:head" />

<script type='text/javascript'>
	//重载验证码  
	function freshVerify() {
		document.getElementById('verifyImg').src = '__URL__/verify/'
				+ Math.random();
	}
</script>

<h2>新用户注册</h2>

<div class="center_div">
	<form action="__URL__/add" method="post">
		姓名：<input id="reginput" type="text" name="username" maxlength="10"><br />
		登录密码：<input id="reginput" type="password" name="password" maxlength="10"><br />
		确认密码：<input id="reginput" type="password" name="repassword" maxlength="10"><br />
		性别：<input type="radio" name="gender" value="male">男
		<input type="radio" name="gender" value="female">女 <br />
		验证码：<input id="verify" name="verifyTest" type="text" /> 
		<img id="verifyImg" title="刷新验证码" src="__URL__/verify" id="verifyImg" onClick="freshVerify()" /> <br />
		<input type="submit" value="注册" /> 
		<input type="reset" value="重置" />
	</form>
</div>

<include file="Public:tail" />